package org.zqy.dao;

import java.util.ArrayList;

import org.zqy.domain.Department;

/** 部门接口 */
public interface DepartmentDao {

	/** 添加一个部门 */
	public boolean addDepartment(Department department);

	/** 删除一个部门 */
	public boolean deleteDepartment(int did);

	/** 修改某个部门 */
	public boolean updateDepartment(int did, Department department);

	/** 获取部门 */
	public ArrayList<Department> getDepartments();
}
